import React, { useState, useEffect } from 'react';
import { makeStyles } from '@material-ui/core/styles';
import { useSelector, useDispatch } from 'react-redux'
import {  Result } from './components';

const useStyles = makeStyles(theme => ({
  content: {
    backgroundColor: "#000",
    height: '100%',
    width: '100%',
  },
}));

const Voting = () => {
  const classes = useStyles();
  const dispatch = useDispatch();

  return (
    <div className={classes.content}>
      <Result />
    </div>
  );
};

export default Voting;
